import ccclass = cc._decorator.ccclass;
import {WindowName} from "../reflect/WindowName";
import {DialogContent} from "./WindowContent";
import property = cc._decorator.property;

@ccclass
@WindowName("TextDialog")
export default class TextDialog extends DialogContent {

    @property(cc.Label)
    public msg: cc.Label = null;

    public setMessage(msg: string) {
        this.msg.string = msg;
    }

}
